package com.ruoyi.product.service.impl;

import java.util.List;
import com.ruoyi.common.core.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.product.mapper.TbProdAttaMapper;
import com.ruoyi.product.domain.TbProdAtta;
import com.ruoyi.product.service.ITbProdAttaService;

/**
 * 商品附件Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-08-04
 */
@Service
public class TbProdAttaServiceImpl implements ITbProdAttaService 
{
    @Autowired
    private TbProdAttaMapper tbProdAttaMapper;


    @Override
    public int insertTbProdAtta(TbProdAtta tbProdAtta)
    {
        tbProdAtta.setCreateTime(DateUtils.getNowDate());
        return tbProdAttaMapper.insertTbProdAtta(tbProdAtta);
    }


}
